Method and device utilizing polymorphic data in e-commerce

ABSTRACT

An aspect of the present invention includes a protocol for conveying data during an e-commerce session with a polymorphic response, comprising initiating a session with a message from a buyer application to a broker application and a session identifier assigned by the broker application; conducting the session between the buyer application and a supplier application; and concluding the session with a additional message which includes a schema identifier for the additional message, resolvable in a context of a system identifier; and a polymorphic response comprising a type and a version, wherein the polymorphic response includes additional data elements corresponding to values assigned to the type and version.

RELATED APPLICATIONS

This application is a continuation of currently pending application Ser.No. 13/615,135, filed 13 Sep. 2012, entitled “METHOD AND DEVICEUTILIZING POLYMORPHIC DATA IN E-COMMERCE”, which is a continuation ofapplication Ser. No. 13/031,072 (now U.S. Pat. No. 8,301,507 issued on30 Oct. 2012), filed 18 Feb. 2011, which is a continuation of U.S.application Ser. No. 11/343,039 (now U.S. Pat. No. 7,895,079 issued on22 Feb. 2011), filed 30 Jan. 2006, entitled “METHOD AND DEVICE UTILIZINGPOLYMORPHIC DATA IN E-COMMERCE”, which is a continuation of Ser. No.09/730,489 (now U.S. Pat. No. 6,993,506 issued on 31 Jan. 2006) entitled“METHOD AND DEVICE UTILIZING POLYMORPHIC DATA IN E-COMMERCE” by MuditaJain, Jari Koistinen, Charles Boyle and Brian Hayes filed on 5 Dec.2000. The original '489 application is hereby incorporated by reference.

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains materialwhich is subject to copyright protection. The copyright owner has noobjection to the facsimile reproduction by anyone of the patent documentor the patent disclosure as it appears in the Patent and TrademarkOffice patent file or records, but otherwise reserves all copyrightrights whatsoever.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to use of polymorphic data in a sessionbetween a buyer and seller, or any pair of trading partners, mediated bya broker or e-commerce hub. In particular, methods and devices utilizinga flexible service request and session end messages are described.

2. Description of Related Art

A desire for electronic commerce brings trading partners together.Broker or hub applications can facilitate transactions between tradingpartners in many ways. The broker application can field an initialsession start request from the buyer and forward it to a seller, eitheracknowledging the start of the session explicitly or leaving it to theseller to acknowledge the start of the session to the buyer. This andother variations on the manner in which electronic commerce isimplemented have implications for software design.

SUMMARY OF INVENTION

An aspect of the present invention includes a protocol for conveyingdata during an e-commerce session with a polymorphic response,comprising initiating a session with a first message from a buyerapplication to a broker application and a second message from the brokerapplication to a supplier application; conducting the session betweenthe buyer application and the supplier application; and respondingduring the session with an additional message which includes a schemaidentifier for the additional message, resolvable in a context of asystem identifier and a polymorphic response comprising a type and aversion, wherein the polymorphic response includes additional dataelements corresponding to values assigned to the type and version.Additional aspects of the invention can be found in the detaileddescription, the figures and the claims.

BRIEF DESCRIPTION OF FIGURES

FIG. 1 is a schematic diagram of components useful between buyer andsupplier.

FIG. 2 is a schematic diagram of processes from subscription throughpurchase order.

FIGS. 3-6 are schematic diagrams extracted from or resembling FIG. 3,with reduced detail to aid in understanding various processes.

FIG. 7 is an interaction diagram from beginning with a user's initiationof a session.

DETAILED DESCRIPTION

The following description of various aspects and embodiments of theinvention is presented for purposes of illustration and description. Thedescription is not intended to limit the invention to the precise formsdisclosed. Many modifications and equivalent arrangements will beapparent to people skilled in the art.

One embodiment practicing aspects of the present invention is so-calledRoundTrip™ software. RoundTrip facilitates connections between buyersand suppliers for connecting via a MarketSite™ portal. Other embodimentsof the present invention will be adapted to facilitating connectionsbetween trading partners using other e-commerce portals and connections,including OBI compliant protocols. RoundTrip software may be deliveredas a patch to the XML commerce connector (XCC) software or as a standalone package. Buyers use the XCC software or equivalent components of astand alone package to process polymorphic messages involving theRoundTrip software. Suppliers optionally may use the XCC software.Custom adaptations to the RoundTrip software by suppliers are supported.The RoundTrip software facilitates return of shopping cart data from asupplier application to a buyer application, after the buyer has createdthe shopping cart at the supplier site. The buyer application can thenuse the shopping cart data to create a purchase order which it can sendto the supplier application without involvement of the RoundTripsoftware. One aspect of the present invention, found in the RoundTripsoftware, is use of a polymorphic message in the context of ane-commerce session to respond with results during a session, sometimesat or near the end of the session. A polymorphic message, describedfurther below, is capable by design of returning shopping cart data,product configuration data, tax calculation data, foreign freightforwarding data, status inquiry responses or another form of data whichreflects the interaction between the buyer and supplier. Another aspectof the present invention is use of a polymorphic message to initiate asession, the polymorphic message being adaptable to sending out purchaseorders, purchase order responses, invoices, advance shipping notices orthe like.

In presenting the RoundTrip software embodiment, reference is made tobuyers and suppliers. Buyers and suppliers might alternatively bereferred to as trading partners. Reference to buyers or buyerapplications is to be taken in its broadest sense as referring to aparty or application which seeks goods, services, commercial data or thelike. Reference to suppliers or supplier applications has a similarlybroad meaning, referring to the source of goods, services or data whichthe buyer seeks out. The RoundTrip software itself is referred to as thebroker application. This software and equivalent applications maysometimes be called e-commerce hubs.

FIG. 1 illustrates software components which interact with the RoundTripsoftware. A firewall 101 surrounds these components. The RoundTripsoftware may be installed as a patch to the XCC software, bothrepresented by 112. Other software components include an L1 router 113,an L2 registration 114, and an L2 integrated supplier 116 with aforwarding service 117. In practicing the present invention, thesecomponents of Commerce One's implementation of the present invention aregenerally interchangeable with components of alternative e-commercesystems. Fewer or more components can be adapted to practicing aspectsof the present invention. Software components may be deployed on one ormore of servers in communication with each other via a secure (encryptedor physically secure) or insecure connection. The L1 router 113 routesmessages through the portal 101/201. It is useful for this router to bemaintained in a DMZ, allowing it to act as a receiving point for allexternal documents and to make HTTP/S connections with suppliers. Toroute messages, the L1 router maintains a database of destinations towhich it posts messages. These destinations can be URL addresses. The L2registration component 114 handles and maintains registration of buyers.The L2 integrated supplier 116 provides the service of forwardingmessages to trading partners. In this case, it forwards the shoppingcart received by the broker application, of which it could be considereda part, to the buyer application. The XCC software operates at theMarketSite Messaging Layer (MML). Buyer application messages to theRoundTrip software are compliant with published MML layer protocols. TheRoundTrip software can run on the NT operating system platform. It isdesigned to use MS SQL Server, Apache web server and JRun. Otherembodiments the present invention may be adapted to other operatingsystems, databases, servers and software interpreters or compilers. TheRoundTrip software may be positioned on the opposite side of a firewallfrom the buyer application, or on the same side.

FIG. 2 is the high-level data flow for the RoundTrip software. FIGS. 3-6are excerpts or variations of this figure which illustrate variousaspects of data flow. A RoundTrip user navigates through a sequence oflinks to arrive at the desired supplier's first page. One navigationflow is from a buyer view, to a RoundTrip home page, to a service orsupplier selection page, to a supplier first page. An alternativenavigation flow would begin from within a catalog, proceeding from alevel corresponding to the supplier, product or commodity of interest.The buyer would be routed from the catalog maintained for the buyer to asupplier site. The session during which the buyer is in contact with thesupplier may be referred to as a supplier service session or simply asession. The start and end of the session are handled by the RoundTripsoftware. The interaction between the buyer and supplier may occurdirectly between the user's web browser and the trading partner's webbased service, or may be relayed through the broker.

The following interaction overview can be understood with reference toFIG. 2. The supplier 240 registers with the RoundTrip software 210. Thisregistration to be handled manually, through a registration agent, oronline. Online registration many the subject to manual or off-lineverification. On the buyer side, the buyer 230 subscribes to one or moreRoundTrip 210 enabled services. This can be either a manual procedure oran automated selection. An automated selection is facilitated by use ofcompatible software by buyer and supplier. Subscription services need tobe accompanied by customizations or translators when the supplier sidesoftware is not natively compatible with the buyer side software. Abroker session starts when a user of the buyer application 230 initiatesa session. This may include selecting the RoundTrip home page 210.Interaction during a broker session allows the buyer to view availableservices and select a specific service. In alternative embodiments, suchas for tax calculation, a “buyer” application could automatically invokethe desired service through the broker application, without any explicitact of user selection. When the buyer 230 selects the service, asupplier service session start document flows from the brokerapplication 210 to the supplier application 240. This document maycontain both data provided by the buyer during the session and datapreregistered by the buyer in a registration database. This document canbe transmitted by an HTTP/S Post, to a supplier provided URL with an XMLformat document in a hidden field. The supplier provided URL correspondsto location with a supplier has a script running that takes the sessionstart document and stores it in a database. The supplier applicationthen does an HTTP redirect to an additional supplier URL that is to beseen by the buyer application. Alternatively, the broker application canprovide the redirect data to the buyer application, for the buyerapplication to execute the redirect. The location at which the sessionstart document is stored is forwarded as a parameter with the redirectmessage. This may result in a top-level page of the supplier servicebeing displayed on the buyer's browser. In one embodiment of the presentinvention, the supplier application at the initial URL discards anycookies received before executing the redirect with reference to thelocation where the session start document is stored, to the additionalsupplier URL. Use of an HTTP redirect is useful to facilitate properresolution of relative links to the supplier URL by the buyer's browserand to facilitate proper handling of cookies issued by the supplier URLto a buyer browser. The buyer and supplier may proceed to interactdirectly 250. Alternatively, their interactions can be routed throughthe broker. Upon completion of the session, the buyer ends theinteraction with the supplier application, for instance by clicking anaccept or cancel button. In one embodiment, this results in a shoppingcart commitment or in a cancellation. The supplier application 240 sendsa supplier service session end document to the broker 210. When theinteraction produces a shopping cart, the shopping cart data or areference thereto is included in the message. The broker application 210next transmits the session details (e.g., shopping cart) to the buyerapplication 230. In one embodiment, the broker application does an HTTPpost of the message to an appropriate buyer application URL, e.g., for aprocurement application. In this embodiment, the RoundTrip softwarewaits for an HTTP Reply from the buyer application. The buyerapplication 230 may use the order information to create or update arequisition or purchase order 231. Without need for interaction throughthe broker application, the buyer application may transmit this purchaseorder through MarketSite software 220 or directly to a supplier 240.Special messages can be used in cases of session cancellation, errorsduring the session between buyer and supplier, or a recoverable timeout.In the general data flow of FIG. 2, implicit login may be supported,whereby the broker stores the password for the buyer's organization tobe sent to the supplier and uses it upon authentication of the buyer.The buyer application may be configured to send a broker both thebuyer's userids and passwords for gaining access to the RoundTripsoftware and to the supplier site. Alternatively, the broker applicationcan maintain a table of userids and passwords for supplierscorresponding to userids and password's provided by the buyerapplication. At the IP session level, it is useful for communicationsamong the buyer, broker and supplier applications to use a secure socketlayer (SSL) protocol so that the data is securely exchanged.

FIG. 3 focuses on registration of the supplier 240, buyer 230 and theirapplications. In one embodiment, both the buyer and supplier receivevalid market participant IDs (MPIDs) from a MarketSite administrator. Inoverview, the supplier registers the set of services it will provide,compatible with the RoundTrip software. For each service the supplierprovides a URL that points to the service, a URN, and the type of theservice. The details of the supplier's service registration aredescribed below. The buyer subscribes to one or more services that areRoundTrip enabled. The buyer provides URLs for receiving sessionmessages and error messages. When the buyer is using XCC, this URL maybe the same as the XCC URL. The buyer provides their supplier assignedaccount number and their organization MPID. The MPID may identify thebuyer with any level particularly, such as company, department orindividual buyer. Localization information also may be provided, such asthe language, country and currency for transactions. Upon registration,the buyer receives a URL to which buyer application can send a brokersession start request. The details of the buyer's service subscriptionare described below. Note that a contractual relationship between thebuyer and supplier may be the basis for receiving a supplier assignedaccount number and corresponding password. A trading partner may fulfillboth the roles of buyer and supplier in different sessions.

The table below provides further information regarding supplier serviceregistration, according to the RoundTrip software embodiment. Theinformation set forth in the table enables buyer side applications toconnect to and interact with a supplier's RoundTrip enabled services.The information described in the table may be provided either via apaper registration form or an online registration form verified aMarketSite operator.

Item Description DocumentExchange Specifies the document exchangeprotocol and version expected ProtocolInformation by the supplierapplication, e.g., “RoundTrip” version 1.0. DocumentExchange Specifiesdata format expected by the supplier application in theFormatInformation “Supplier Service Session Start” and “Supplier ServiceSession End” data messages, e.g., CBL version 2.0. DocumentExchangeSpecifies the service timeout value in minutes. Timeout DocumentExchangeWill indicate the authentication scheme imposed by the tradingSecurityInformation partner's service. Options would be implicit orexplicit sign-on. ServiceURN Used as a key to lookup further RoundTripregistry information. This is a supplier service specific URN, e.g.,“catalog: supplier- name”. Assigned by the MarketSite operator inagreement with the supplier/trading partner. ServiceURL The specificlocation (URL) of the service. Provided by supplier/trading partner.Examples: http://www.supplier.com/catalog.asp orhttp://www.supplier.com/cgi-bin/catalog.cgi/roundtrip orhttp://www.supplier.com/cgi- bin/catalog.cgi?FLAVOR=ROUNDTRIP.ServiceSessionTime Specifies service's user session timeout value inminutes. out TradingPartnerId Identifies the trading partner that isregistering the service. This would typically be the MPId (MarketplaceId) of the supplier. ServiceId The service id unique to a supplier.ServiceType Specifies the type of service that is being run. ServiceNameService name. AppFieldMap Reserved for future use. AppServiceDataReserved for future use.

The next table below provides further information regarding initialbuyer registration, according to the RoundTrip software embodiment. Theinformation described in the table may be provided either via a paperregistration form or an online registration form verified a MarketSiteoperator. Default values, subject to overrides, can be assigned to manyof these items, including localization values, the Document ExchangeProtocol Information, the Accept and Cancel URLs and Labels.

Variable Description OrgID Buyer organization or BuySite identifierBuyerAppName Buyer application name/id. BuyerAppVersion Buyerapplication version. BuyerAppFrameSize Buyer application's frame sizeDocumentExchangeProtocolInformation Specifies the document exchangeprotocol and version used. For the initial release, the protocol is“RoundTrip” and the version is 1.0. SessionTimeOut Client sessiontimeout value in minutes. Language The user preferred two-letter ISOlanguage code. Reference CBL element LangCode. Currency Reference CBLelement CurrencyCode. Country Can be used to determine/guess the numberand date formats. Reference CBL element CountryCode. AcceptURL A URL toa buyer side ASP/servlet/CGI for uploading the configured order.AcceptLabel This is the button label that the trading partner web-basedservices will associate with the Callback URL. Optional. CancelURL A URLto a buyer side ASP/servlet/CGI for handling the user canceling theconfigurator process. CancelLabel This is the button label that thesuppliers will associate with the Cancel URL.After initial registration, the buyer will specify the supplier andsupplier services that it wants to subscribe/unsubscribe to. Thefollowing information can be used to identify supplier services to whichthe buyer is subscribing:

Variable Description OrgID Buyer organization or BuySite identifierSupplierID Identifies the supplier that provides the service beingregistered to. This would typically be the MPId (MarketPlace Id) of thesupplier. SupplierServiceID The service id unique to this supplier.For each service, the buyer will also register service specific data.Some examples of these data items are:

SupplierAssignedAccountNum For the supplier-based services, this is thecustomer number assigned by the supplier to the buying organization.This facilitates contract pricing. DistributerAssignedAccount Fordistributor-based services, this Num is the customer number assigned bythe distributor to the buying organization. This also facilitatescontract pricing.

FIGS. 7 and 4 generally illustrate the processes leading to issuance ofthe broker session start document. In FIG. 7, interactions take placeamong the user 701, the user's web browser 702, a buyer application orBuySite 703, a broker application 704 and the supplier application 705.The user navigates to a requisitioning screen with reference toRoundTrip software and performs some action 710. The user's action atthe requisitioning screen causes an HTTP Post message 711 to be sent tothe broker application for a broker session start. A schema for such amessage is set forth below. The broker application verifies the userprivileges 712 and takes other steps described in more detail below. Thebroker application issues an HTTP reply 713 to the user's web browser702.

FIG. 4 provides additional detail regarding the broker application'sprocesses in response to the buyer's BrokerSessionStart document. Thebuyer 230 sends a BrokerSessionStart document to the broker 210. AnHTTP/S Get or Post connection can be used. The buyer's document containsthe buyer MPID and the buying organization's user ID and password. Thebroker 210 validates the buyer by publishing a ping document to L1 413,using the buyer MPID and buying organization's user ID and password. TheL1 component forwards the ping document to L2 414 and its ping service415. The response is a pong message which validates the buyer. In analternative embodiment, the SiteMinder™ product by Netegrity™ can beused to validate the buyer. Information regarding this product isavailable through http://www.netegrity.com/products/siteminder.html.Once the buyer is validated, the broker returns the list of services towhich the buyer has subscribed. When the buyer selects one of thereturned services, another HTTP/S Get or Post request from the browser,to the procurement application, through the broker is generated. In thisembodiment, the buyer sends the broker a document containing thesupplier-assigned userid and password, and SessionID and SessionContextfor the buyer session start. The broker receives this request at thestart document URL. The broker then constructs a Supplier ServiceSession Start XML document, and sends it on as an HTTP/S Post to thesupplier.

A Sox schema for RoundTrip BrokerSessionStart message appears below.Those familiar with the art will recognize Sox as an extension to XMLproposed as an open specification through W3C atHTTP://www.w3.org/TR/NOTE-SOX. The full Sox specification, version 2,has been published athttp://www.commerceone.com/xml/sox/download/index.html. The schema belowis self documenting. Some comments and explanations of data usage followthe schema.

<?xml version=″1.0″?> <!DOCTYPE schema SYSTEM″urn:xcommerceone:document:com:commerceone:xdk:xml:schema.- dtd$1.0″><schema uri=″urn:x-commerceone:document:com:commerceone:roundtrip:schemas:RoundTripBrokerSessionStart.sox$1.0″> <namespaceprefix=″cbl″ namespace=″urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0″> <comment>Copyright 1999 Commerce One Inc. </comment>  <elementtypename=″BrokerSessionStart″>   <model>    <sequence>     <elementtype=″LoginInfo″/>     <element type=″SessionInfo″/>     <elementtype=″PassThruData″ occurs=″?″/>    </sequence>   </model> </elementtype>  <elementtype name=″SessionInfo″>  <model>   <elementtype=″SessionContext″ occurs=″?″/>  </model>  <attdef name=″SessionID″datatype=″string″><required/>    <explain>     <p>This is the usersession id assigned by the buyer-side     application.</p>    </explain> </attdef>  </elementtype> <elementtype name=″SessionContext″>  <model>  <element type=″string″ name=″OrgId″ occurs=″?″/> // e.g. the BuySiteinternal Buying Organization id.    <element type=″string″name=″ParentOrgId″ occurs=″?″/> <!-- e.g. the BuySite internalEnterprise (EBO) Id. -->    <element type=″string″ name=″OrderId″occurs=″?″/> <!-- Id of user's current requisition. -->  </model></elementtype>  <elementtype name=″LoginInfo″>    <explain>     <p>The<code>LoginInfo</code>contains the     authentication data for signingonto the RoundTrip     services.</p>     <p>It is intended that thiselement be extended to     support other authentication schemes such assingle     sign-on.</p>    </explain>  <model>   <sequence>   <elementtype=″Organization″/>    </sequence>  </model>  </elementtype><elementtype name=″Organization″>   <attdef datatype=″string″name=″ID″><required/>    <explain>     <p>The<code>Organization</code>may be identified by a     <code>ID</code>thatis known to some     <code>Agency</code>. The <code>Agency</code> shouldbe     identified with an <code>AgencyID</code> (or an    <code>AgencyOther</code>).</p>    </explain>   </attdef>   <attdefname=″AgencyID″ prefix=″cbl″  datatype=″AgencyCode″><required/>    <!--<explain>     <p>An <code>Agency</code>chosen from a list of standard    <code>Agencies</code>. This identifies the     <code>Agency</code>that issued the <code>PartyID</code>.     For MarketSites, use Otherunless the specific MarketSite     has an AgencyCode.</p>    </explain>-->   </attdef>   <attdef datatype=″string″ name=″AgencyOther″>   <explain>     <p>If the <code>AgencyID</code>is <code>Other</code>    the <code>Agency</code> identifier may be specified     as a string.If the Agency is a MarketSite, use the     MarketSite short name orMarketSite Participant ID.</p>    </explain>   </attdef>  </elementtype> <elementtype name=″PassThruData″>   <explain>    <p>A place holderelement for any other data that is    required by the application toprocess the document(s) and    other information returned in theBrokerSessionEnd.</p>    <p><code>Content</code> - Format to be definedby the    application. Note it cannot be in XML format (XML data can   be URL encoded or otherwise encoded).</p>    </explain>  <model>   <element name=”Content” type=”string” occurs=″?″/>   </model> </elementtype> </schema>This schema works in conjunction with XML Common Business Language(xCBL) documents published as an open standard at the Commerce Onedownload site referenced above. In other embodiments of the presentinvention, EBXML documents (Sun sponsored) or other schemas could beused for starting the broker session. The table below explains some datausage corresponding to the schema above.

Variable Description SessionID Identifies the user session.SessionContext Session context. For example, this may include the user'srequisition id and buyer organization Id. UserID The user id andpassword field will be activated when single sign-on is enabled.Password OrgID This will be the organization's MarketSite Participant ID(MPID) when the OrgIDAgency is set to a MarketSite. Alternatively, thiscould an identifier assigned by another agency such as EAN. OrgIDAgencyThis will be the identifier for the agency that assigned the OrgID. Forexample, MarketSite.net or EAN. PassThruData A self-describing datastructure that is passed through by the service broker. This can be usedby the buyer and supplier applications to exchange service specific datawithout needing a protocol change.FIG. 7 provides an additional view of this interaction. In practice ofthe RoundTrip embodiment, the broker 703, at the service list selectionURL receives the buyer's request for a list of available services 721.Upon receiving this request, the broker consults its database todetermine the set of services to which the buyer with the given OrgID issubscribed 722. It saves the user session context for later use 723. Itreturns this list of services to the buyer's browser, as an HTTP/S Reply724. The buyer selects a service from the list of services 730. Thiscauses the browser to send an HTTP/Get or Post request 730 to theprocurement application, which in turn does an HTTP/S Post 731 to theRoundTrip broker, to send to it, over an HTTP/S connection, the serviceselected, along with the supplier assigned userid/password. The brokerlooks up the URL of the selected service 732, gathers context data foruse in the supplier session 733 and creates data structures to supportthe supplier session 734. In particular, in the RoundTrip embodiment,the broker creates the Service Session Start request document 734, andforwards it 735 over an HTTP/S connection, to the supplier 705. Thesupplier caches the data, performs a redirect, and then sends an HTTP/SReply to the broker 737, who forwards the reply 738 on to the buyer 702.The broker 703 can log the session 739.

FIGS. 7 and 5 portray processes including supplier service selection andsupplier service session start. The buyer 230 transmits the serviceselection to the broker application or e-commerce hub 210. The brokerprocesses the selection and generates a supplier service session startdocument which it transmits to the supplier 240.

When the user selects a specific service URL, the Service Broker sends a“Supplier Service Session Start” request to the chosen service'ssupplier application. The service context data is delivered to thesupplier application via an HTTP Post to the URL (ServiceURL) specifiedby the supplier during registration. This is the initial communicationbetween the broker application and the service application. In theRoundTrip embodiment, data is delivered as an XML format document withina hidden form field. The name of the hidden field typically is the nameof the root element tag in the document being sent—for example,RTServiceStart, RTServiceEnd, RTServiceCancel, and RTServiceError. Thegeneral form for conveying the hidden field can use the followingsyntax:

<FORM ... < hidden name=”RTServiceStart” value =”<XML document ... >” >

In greater detail, the following schema depicts one embodiment of asupplier service session start document. Both the specific schema andsome common schema information used in conjunction with the specificschema are provided.

<?xml version=″1.0″?> <!DOCTYPE schema SYSTEM″urn:xcommerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0″><schema uri=″urn:x-commerceone:document:com:commerceone:roundtrip:schemas:RoundTripServiceStart.sox$1.0″> <comment> Copyright 1999 Commerce One Inc. </comment> <namespace prefix=″cbl″ namespace=″urn:x-commerceone:document:com: commerceone:CBL:CBL.sox$1.0″/>  <namespace prefix=″common″namespace=″urn:x-commerceone:document: com:commerceone:roundtrip:RoundTripCommonTypes.sox$1.0″/> <elementtypename=″RTServiceStart″>  <model>    <sequence>   <element prefix=”common”type=″DocumentExchangeProtocolInformation″/>   <element prefix=”common”type=″Session Info″/>     <element type=″LoginInfo″/>   <elementname=″TimeOut″ type=″int″ occurs=″?″/>   <element prefix=”cbl”name=″Language″ type=″LangCode″ occurs=″?″/>   <element prefix=”cbl”name=″Currency″ type=″CurrencyCode″ occurs=″?″/>   <element prefix=”cbl”name=″Country″ type=″CountryCode″ occurs=″?″/>   <elementname=”BuyerAppInfo” prefix=”common” type=″ApplicationInfo″ occurs=″?″/>  <element prefix=”common” type=″AcceptInfoType″/>   <elementprefix=”common” type=″Cancel InfoType″/>     <element prefix=″common″type=″URLDataType″ name=”ErrorURL”    occurs=”?”/>   <elementprefix=”common” type=″PassThruData″ occurs=″?″/>      <elementname=”SupplierPartNum” type=”LimitedString” occurs=″?″/>      <elementname=”SupplierID” type=”LimitedString” occurs=”?”/>      <elementname=”SupplierIDAgency” type=”LimitedString” occurs=″?″/>      <elementname=”SupplierAssignedAccountNum” type=”LimitedString” occurs=”?”/>   </sequence>  </model>  </elementtype>  <elementtype name=″LoginInfo″>    <explain>       <p>The <code>LoginInfo</code> contains the      authentication data for signing onto the RoundTrip      services.</p>      </explain>   <model>   <sequence>      <element name=”UserID” type=”LimitedString” occurs=”?”/>      <element name=”Password” type=”LimitedString” occurs=”?”/>     <element name=″OrgID″ type=″LimitedString″/>    <elementname=″OrgIDAgency″ type=”LimitedString” occurs=”?”/>   </sequence>  </model>   </elementtype>  </schema> Common Types  <?xmlversion=″1.0″?>  <!DOCTYPE schema SYSTEM″urn:x-commerceone:document:com:  commerceone:xdk:xml:schema.dtd$1.0″> <schema uri=″urn:x-commerceone:document:com:commerceone: roundtrip:schemas:RoundTripCommonTypes.sox$1.0″>  <comment> Copyright1999 Commerce One Inc. </comment>  <comment> AccetpInfo and CancelInfoshould use a common datatype which  could be ActionInfo  </comment>  <elementtype name=″AcceptInfoType″>    <model>     <sequence>    <element type=″NameDataType″ name=″Label″/>     <elementtype=″URLDataType″ name=″URL″ />     </sequence>    </model>  </elementtype>   <elementtype name=″CancelInfoType″>    <model>   <sequence>     <element type=″NameDataType″ name=″Label″/>    <element type=″URLDataType″ name=″URL″ />    </sequence>    </model>  </elementtype>   <elementtype name=″ScreenSize″>    <model>    <element name=″HorizontalSize″ type=″int″/>     <elementname=″VerticalSize″ type=″int″/>    </model>   </elementtype> <elementtype name=″SessionInfo″>   <model>    <elementtype=″SessionContext″ type=”string” occurs=″?″/>   </model>   <attdefname=″SessionID″ datatype=″UUID″>    <required/>      <explain>       <p>This is the service session id assigned by the broker.</p>      </explain>   </attdef>  </elementtype> <elementtypename=″PassThruData″>   <explain>        <p>A place holder element forany other data that is        required by the application to process thedocument(s) and        other information returned in theBrokerSessionEnd.</p>        <p><code>Content</code> - Format to bedefined by the        application. Note it cannot be in XML format (XMLdata can        be URL encoded or otherwise encoded).</p>      </explain>   <model>      <element name=″Blob″ type=″string″/>   </model> </elementtype> <elementtypename=″DocumentExchangeProtocolInformation″>  <empty/>  <attdefname=″Protocol″ datatype=″LimitedString″>   <default>RoundTrip</default>  </attdef>  <attdefname=″ProtocolVersion″ datatype=″LimitedString″>  <default>1.0</default>  </attdef> </elementtype>  <elementtypename=″Name″>   <model>    <element name=″NameString″type=″NameDataType″/>   </model>  </elementtype>  <datatypename=″NameDataType″>   <varchar maxlength=″50″ datatype=″string″/> </datatype>  <datatype name=″LimitedString″>   <varchar maxlength=″80″datatype=″string″/>  </datatype>  <elementtype name=″ApplicationInfo″>  <model>    <element name=″AppFrameSize″ type=″ScreenSize″ occurs=″?″/>  </model>   <attdef name=″AppName″ datatype=″string″>    <required/>  </attdef>   <attdef name=″AppVersion″ datatype=″string″>   <required/>   </attdef>  </elementtype>  <datatype name=″UUID″>  <varchar maxlength=″64″ datatype=″string″/>  </datatype>  <datatypename=″URLDataType″>   <varchar maxlength=″256″ datatype=″string″ /> </datatype>  <datatype name=″URNDataType″>   <varchar maxlength=″256″datatype=″string″/>  </datatype> </schema>

The following table explains some of the data items included in thesupplier service session start XML document. In this table, the SupplierService Session Start data is categorized. Session data is MarketSiteService Broker session information. Data such as session id is used bythe broker application to associate the acquired data (order details)with a supplier service session. Other data, such as language, isprovided as a courtesy so that the web-based service can provide atailored experience. Authentication data includes information such asthe organization's user-id and password. Authorization data, forcatalogs and configurators, for instance, includes the buyer's supplierassigned account number or customer number. Parameter data providesinformation required by the supplier's service application. For example,a configurator will need a supplier part number. Parameter datatypically can be provided by the buyer application. Finally, action dataincludes button labels and URLs for accept, cancel and other actions.

Variable Category Description DocumentExchange Session Specifies thedocument exchange protocol and ProtocolInformation version used, e.g.,“RoundTrip” and the version is 1.0. SessionID Session This clientsession id (UUID) allows the Roundtrip broker to associate the incomingconfiguration data (via Accept URL) with the supplier service and thebuyer that performed the action. TimeOut Session Client session timeoutvalue in minutes is optional. Language Session The user preferredtwo-letter ISO language code. Reference CBL element LangCode. CurrencySession Reference CBL element CurrencyCode is optional. Country SessionCan be used to determine/guess the number and date formats. ReferenceCBL element CountryCode. BuyerAppName Session Buyer application name/id.BuyerAppVersion Session Buyer application version. BuyerAppFrameSizeSession Buyer application's frame size. UserID Authentication Used forimplicit login. This means that the userid is on a per buyingorganization registered service basis. Password Authentication Used forimplicit login. This means that the password is on a per buyingorganization registered service basis. OrgID Authentication OrgIDAgencyAuthentication AcceptURL Action A URL to a MarketSite ASP/servlet/CGIfor processing the configured order. AcceptLabel Action This is thebutton label that the trading partner web-based services will associatewith the Accept URL. CancelURL Action A URL to a MarketSiteASP/servlet/CGI for handling the user canceling the configuratorprocess. CancelLabel Action This is the button label that the supplierswill associate with the Cancel URL. ErrorURL Action A URL to aMarketSite servlet for displaying errors. PassThruData Parameter Thisparameter is passed through by the service broker. This can be used bythe buyer and supplier applications to exchange service specific datathat are not accounted for in the protocol. This would enable suchbuyers and suppliers to integrate without having to wait for a protocolchange.The previous table shows a basic supplier service session start datalayout. The following table shows a list of additional supplier specificdata items that can be part of the RoundTrip Supplier Service Startdocument:

Variable Category Description SupplierPartNum Parameter Used byweb-based configurators. SupplierID Parameter While not required ifconnecting directly to a supplier, probably useful if connecting anintermediate trading partner. SupplierIDAgency Parameter Used toidentify the agency that created any identifiers (e.g. Supplier ID andSupplier Account Number) in this information set.SupplierAssignedAccount Parameter For the supplier-based services, thisis the Num customer number assigned by the supplier to the buyingorganization. This facilitates contract pricing.The following example provides a document consistent with the schemaabove.

 <?xml version=”1.0”?>  <?soxtypeurn:x-commerceone:document:com:commerceone:roundtrip:schemas:RoundTripServiceStart.sox$1.0?>  <RTServiceStart  xmlns:common=”urn:x- commercone:document:com:commerceone:roundtrip:schemas: RoundTripCommonTypes.sox$1.0”  xmlns:cbl=”urn:x-commerceone:document:com:commerceone: CBL:CBL.sox$1.0”>   <common:DocumentExchangeProtocolInformationProtocol= ”RoundTrip” ProtocolVersion=”1.0”/>   <common:SessionInfoSessionID=”CF543873-D7B9-11D3-830B-  00609709DDA1”/>    <LoginInfo>   <UserID>123456</UserID>    <Password>my password</Password>    <OrgID>buyer organization id</OrgID>    <OrgIDAgency>MarketSite.net</OrgIDAgency>    </LoginInfo>   <TimeOut>10</TimeOut>    <Language>en</Language>   <Currency>USD</Currency>    <Country>US</Country>    <BuyerAppInfoAppName=”BuySite” AppVersion=”6.0”>    <common:AppFrameSize>    <common:ScreenSize>     <common:HorizontalSize>600</common:HorizontalSize>      <common:VerticalSize>800</common:VerticalSize>      </common:ScreenSize>      </common:AppFrameSize>    </BuyerAppInfo>    <common:AcceptInfoType>   <common:Label>Order</common:Label>   <common:URL>http://www.marketsite.net/servlet/end</    common:URL>  </common:AcceptInfoType>    <common:CancelInfoType>   <common:Label>Cancel</common:Label>  <common:URL>http://www.marketsite.net/servlet/cancel</   common:URL>   </common:CancelInfoType>   <ErrorURL>http://www.marketsite.net/servlet/    errhandler</ErrorURL>   <SupplierAssignedAccountNum>4356</    SupplierAssignedAccountNum> </RTServiceStart>

FIG. 2 depicts the supplier service session and direct buyer to supplierinteraction 250. The buyer and supplier communicate directly with eachother, without need for broker involvement, monitoring or logging. Inother embodiments, the broker can forward many or all of the messagesbetween the buyer and supplier, thereby enabling the broker applicationto log all or some aspects of the interaction to facilitate errorrecovery.

When the buyer is done with the supplier site, he may select a Submit orCancel button in the browser. These selections lead to generation of aService Session End or Service Session Cancel XML document,respectively, which is to be sent to the buyer by the supplier via thebroker, as a hidden form field, over HTTP/S Post. The supplier serviceposts to a URL (CallBackURL) specified in the Supplier Service SessionStart data. The data in this posted document include Supplier ServiceSession End data as an XML document within a hidden form field,consistent with the following schema. The supplier's document alsoincludes an order response (e.g., a shopping cart) as a CBL formatdocument within a hidden form field. A schema for and example of ashopping cart response follow. The Service Session End document is sentto a buyer provided Submit URL. Alternatively, a Service Session Canceldocument is sent to a buyer provided Cancel URL. The buyer receives andprocesses these documents.

Any errors that occur during this interaction may be posted to aspecified error URL. These errors can be automatically displayed withinthe buyer's browser.

The supplier service session end document is an HTTP form is posted tothe broker callback URL when the Supplier Service Session Ends. Thisform contains the “Supplier Service Session End” XML document and a Listof Order Details CBL documents in hidden fields. The following syntax isused:

  <FORM ACTION=“http://roundtrip.marketsite.net/servlet/end”  METHOD=“POST”   NAME=“CallBackDialog”>    <INPUT TYPE=“HIDDEN”NAME=“RTServiceEnd”     VALUE=“&lt;?xml version=&quot;1.0&quot;?&gt;     ....     this is an HTML encoded RTServiceEnd document    ”></FORM>

The following schema depicts a supplier service session end document.

<?xml version=″1.0″?> <!DOCTYPE schema SYSTEM “urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0″> <schemauri=″urn:x-commerceone:document:roundtrip:schemas:RoundTripServiceEnd.sox$1.0″> <comment>Copyright 1999 Commerce One Inc. </comment>  <namespace prefix=″cbl″namespace=″urn:x- commerceone:document:com:commerceone:CBL:CBL.sox$1.0″/>  <namespaceprefix=″common″ namespace=″urn:x- commerceone:document:com:commerceone:roundtrip: RoundTripCommonTypes.sox$1.0″/> <elementtype name=″RTServiceEnd″> <model>   <sequence>   <element prefix=”common”type=″DocumentExchangeProtocolInformation″/>    <element prefix=“common”type=″SessionInfo″/>   <element prefix=”cbl” name=″Language″type=″LangCode″   occurs=“?”/>   <element prefix=”cbl” name=″Currency″type=″CurrencyCode″ occurs=“?”/>   <element prefix=”cbl” name=″Country″type=″CountryCode″   occurs=“?”/>   <element type=″ResponseData″/>  <element prefix=”common” type=″PassThruData″ occurs=”?”/>   <elementname=″RequestEcho″ type=″RTServiceStart″ occurs=”?”/>    </sequence>  </model> </elementtype> <elementtype name=″ResponseData″>  <empty/> <attdef name=″ResponseDataType″ datatype=″LimitedString″>   <required/> </attdef>  <attdef name=″ResponseDataFormat″ datatype=″LimitedString″/>  <required/>  </attdef>  <attdef name=″ResponseDataFormatVersion″ datatype=″LimitedString″/>   <required/>  </attdef> </elementtype><elementtype name=”ShoppingCart”>    <explain>    <p>A<code>ShoppingCart</code>is typically returned from a    RoundTripsession with a supplier's catalog or configurator.    The<code>ShoppingCart</code>will contain an <code>   OrderRequest<code>.</p>    <p><code>OrderRequest</code> - an orderrequest containing the    items selected by and/or configured by theuser from the supplier's    web based catalog/configurator.</p>   </explain>  <extends type=”ResponseData”>   <append>     <elementname=”CartID” type=”LimitedString”/>   <element prefix=”cbl”type=″OrderRequest″/>    </append>   </extends>  </elementtype></schema>

In this schema, the ResponseData element enables polymorphism of thesession end data document. The extension of ResponseData isself-describing. That is, the basic attributes of ResponseData, whichmay be extended and adapted in various embodiments, describe theextended data attributes. Data type and version attributes allow thebuyer application to determine what data is associated with the message.An optional data format attribute permits further definition of the dataassociated with the message. This is an extension of XML. The samemessage, with variants, can be adapted to a variety of functions, suchas conveying reference to or the values of shopping cart data, conveyingproduct configuration data, conveying tax calculation data or conveyingshipping or foreign freight forwarding data. Use of a polymorphic dataschema decouples programming from the evolution of document types andapplications. Use of namespaces supports coordination of document typenames, development, deployment and maintenance of applications. Relativeto a namespace, a schema identifier is provided with a message, which isresolvable in a context of a system identifier. In the sample schemasherein, the system identifier is explicit and part of theself-describing data. The system identifier may be universally unique,across the namespace of the Internet, or locally unique in some narrowerdomain. At some sacrifice of general adaptability, the system identifiermay be implicit in the data tables or program code used by the buyer orsupplier application or it may be implicit in the choice of a narrowerdomain than the Internet. Other Sox extensions of XML which are usefulin practicing aspects of the present invention are support of typeddata, a predefined set of intrinsic types, such as string, int, URI, anddate, user defined types based on enumerated, scalar, and varchar typedefinitions, namespaces and versions for schemas, and an extensibilitymechanism that facilitates the reuse and evolution of schemas andelement types. Translation of Sox to Java data formats can leveragestrong typing and data structures which are readily mapped into Java.

Polymorphism is not limited in this invention to responses from asupplier. Responses from a buyer to a supplier also can take advantageof this method and data structure. Alternatively, polymorphism can beused at the outset of a session, in a first message (not necessarily theactual first message) from the initiating party to the broker. Eitherthe buyer or supplier can initiate a session through the broker and usepolymorphism during the initiating. For example, a buyer can initiate astatus inquiry or a purchase order start using data structuresequivalent to ResponseData, in place of PassThroughData. A supplier caninitiate a session, reversing the roles of the schemas or messagesoffered as examples herein, and use polymorphism during the initiating.This may be useful to a supplier for purchase order responses, invoicesor advance shipment notices. At the conclusion of a session initiated bya supplier, the buyer may respond with data regarding changedconditions. Alternate schedules or other delivery information can beprovided. Alternate configurations can be provided if a selectedconfiguration has become unavailable.

The following table explains some data items that are part of theSupplier Service Session End document:

Variable Category Description DocumentExchangeProtocolInformationSession Specifies the document exchange protocol and version used, e.g.,“RoundTrip” and the version is 1.0. SessionID Session Same as theSession ID provided as part of the Session Start. Language SessionUseful if the result data contains a language specific text without aspecified language code and the language text in the result data isdifferent than “Language” specified in the RoundTrip context. The userpreferred two-letter ISO language code. Currency Session Useful if theresult data contains a monetary amount without a specified currency codeand the currency in the result data is different than “Currency”specified in the RoundTrip context. Country Session Useful if the resultdata contains any country specific formatted data without a specifiedcountry code and the country specific formatted data in the result datais different than “Country” specified in the RoundTrip context.Reference CBL element CountryCode. ResponseDataFormat Response TheSession End data format ResponseDataFormatVersion Response Versionnumber of response data format, e.g., CBL 2.0. ResponseData ResponsePolymorphic data element, supporting shopping cart and other functions.ResponseDataType Response Specifies the type of Response Data.PassThruData Used by the buyer and supplier applications to exchangeservice specific data that are not accounted for in the protocol. Thiswould enable such buyers and suppliers to integrate without having towait for a protocol change. RequestEcho Parameter Echo back of originalrequest. Provided for sanity checking - if the broker wants to processthe Service End document according to data in the Service Start Request,for example.

As an extension of ResponseData, the following schema supports ashopping cart.

<?xml version=“1.0”?> <!DOCTYPE schema SYSTEM“urn:x-commerceone:document:com: commerceone:xdk:xml:schema.dtd$1.0”><schema uri=“urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0”>  <intro>   <h1>Order Request</h1>  <p>Copyright Notice</p>   <p>Common Business Library 2.0<br/>  Copyright 1999 Commerce One, Inc.</p>   <p>Permission is granted touse, copy, modify and distribute the   DTD's, schemas and modules in theCommerce One Common Business   Library Version 2.0 subject to the termsand conditions specified   at<tt>http://www.marketsite.net/xml/cbl/copyright.html</tt></p>  </intro> <elementtype name=“OrderRequest”>   <model>    <sequence>     <elementtype=“OrderRequestHeader”/>     <elementtype=“ListOfOrderRequestDetail”/>     <elementtype=“OrderRequestSummary”/>    </sequence>   </model>  </elementtype></schema> <?xml version=“1.0”?> <!DOCTYPE schema SYSTEM“urn:x-commerceone:document:com: commerceone:xdk:xml:schema.dtd$1.0”><schema uri=“urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0”>  <intro>   <h1>Order Request Detail</h1>  <p>Copyright Notice</p>   <p>Common Business Library 2.0<br/>  Copyright 1999 Commerce One, Inc.</p>   <p>Permission is granted touse, copy, modify and distribute the   DTD's, schemas and modules in theCommerce One Common Business   Library Version 2.0 subject to the termsand conditions specified   at<tt>http://www.marketsite.net/xml/cbl/copyright.html</tt></p>  </intro> <elementtype name=“OrderRequestDetail”>   <model>   <extendstype=“BaseItemDetail”>    <append>     <sequence>      <elementtype=“SupplierConfigNum” occurs=“?”/>      <element type=“string”name=“GeneralNote” occurs=“?”/>      <element type=“Tax” occurs=“?”/>     <element type=“ListOfAllowOrCharge” occurs=“?”/>      <elementtype=“Price” name=“BuyerExpectedUnitPrice”/>      <elementtype=“ListOfAttachment” name=“OrderDetailAttachment” occurs=“?”/>     <element type=“boolean” name=“Immutable” occurs=“?”/>    </sequence>    </append>   </extends>   </model>  </elementtype> <elementtype name=“ListOfOrderRequestDetail”>   <model>    <elementtype=“OrderRequestDetail” occurs=“+”/>   </model>  </elementtype></schema> <?xml version=“1.0”?> <!DOCTYPE schema SYSTEM“urn:x-commerceone:document:com: commerceone:xdk:xml:schema.dtd$1.0”><schema uri=“urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0”>  <intro>   <h1>Order Request Header</h1>  <p>Copyright Notice</p>   <p>Common Business Library 2.0<br/>  Copyright 1999 Commerce One, Inc.</p>   <p>Permission is granted touse, copy, modify and distribute the   DTD's, schemas and modules in theCommerce One Common Business   Library Version 2.0 subject to the termsand conditions specified   at<tt>http://www.marketsite.net/xml/cbl/copyright.html</tt></p>  </intro> <elementtype name=“OrderRequestHeader”>   <model>    <sequence>    <element type=“datetime” name=“OrderRequestDate”/>     <elementtype=“OrderRequestReference”/>     <element type=“OrderParty”occurs=”?”/>     <element type=“Tax” occurs=“?”/>     <elementtype=“CurrencyCode” name=“OrderCurrency”/>     <element type=“LangCode”name=“OrderLanguage”/>     <element type=“string” name=“GeneralNote”occurs=“?”/>     <element type=“boolean” name=“Immutable” occurs=“?”/>    <element type=“ListOfAttachment” name=“OrderRequestHeaderAttachment”occurs=“?”/>    </sequence>   </model>  </elementtype> </schema> <?xmlversion=“1.0”?> <!DOCTYPE schema SYSTEM “urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0”> <schemauri=“urn:x-commerceone:document:com: commerceone:CBL:CBL.sox$1.0”> <intro>   <h1>Order Request Reference</h1>   <p>Copyright Notice</p>  <p>Common Business Library 2.0<br/>   Copyright 1999 Commerce One,Inc.</p>   <p>Permission is granted to use, copy, modify and distributethe   DTD's, schemas and modules in the Commerce One Common Business  Library Version 2.0 subject to the terms and conditions specified   at<tt>http://www.marketsite.net/xml/cbl/copyright.html</tt></p>   <p>Acollection of references that are used by   <code>OrderRequest</code>. </intro>  <elementtype name=“OrderRequestReference”>   <explain>   <p><code>AccountCode</code> is the agreement number between a   buyer and a supplier. An account may contain several contracts    init.</p>    <p><code>CustRefNum</code> is the Order Requestidentification    number.</p>    <p><code>BuyerRefNum</code> is Buyer'sPurchase Order Num.</p>    <p><code>SupplierRefNum</code> is Supplier'sOrder Num.</code>    or Suppliers Sales Order Num.</p>   <p><code>SupplierConfigNum</code> is a configuration number. </p>   <p><code>ListOfReferenceCoded</code> - This is used for other   references that a buyer want to provide to supplier, such as    BuyerCatalog Reference Number.</p>   </explain>   <model>    <sequence>    <element type=“Reference” name=“AccountCode” occurs=“?”/>    <element type=“Reference” name=“CustRefNum” occurs=“?”/>    <element type=“Reference” name=“BuyerRefNum” occurs=“?”/>    <element type=“Reference” name=“SupplierRefNum” occurs=“?”/>    <element type=“Reference” name=“SupplierConfigNum” occurs=“?”/>    <element type=“ListOfReferenceCoded” occurs=“?”/>    </sequence>  </model>  </elementtype> </schema> <?xml version=“1.0”?> <!DOCTYPEschema SYSTEM “urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0”> <schemauri=“urn:x-commerceone:document:com: commerceone:CBL:CBL.sox$1.0”> <intro>   <h1>Order Request Summary</h1>   <p>Copyright Notice</p>  <p>Common Business Library 2.0<br/>   Copyright 1999 Commerce One,Inc.</p>   <p>Permission is granted to use, copy, modify and distributethe   DTD's, schemas and modules in the Commerce One Common Business  Library Version 2.0 subject to the terms and conditions specified   at<tt>http://www.marketsite.net/xml/cbl/copyright.html</tt></p>  </intro> <elementtype name=“OrderRequestSummary”>   <model>    <sequence>    <element type=“Decimal18_3” name=“TotalAmount”/>     <elementtype=“int” name=“TotalLineNum” occurs=“?”/>    </sequence>   </model> </elementtype> </schema>

An example of an end document extended by a shopping cart morphismfollows:

<?xml version=”1.0”?> <?soxtype urn:x-commerceone:document:com:commerceone:roundtrip:schemas:RoundTripServiceEnd.sox$1.0?> <RTServiceEnd  xmlns:common=”urn:x-commercone:document:com:commerceone:roundtrip:schemas:RoundTripCommonTypes.sox$1.0”  xmlns:cbl=”urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0”>  <common:DocumentExchangeProtocolInformation Protocol=”RoundTrip”ProtocolVersion=”1.0”/>     <common:SessionInfoSessionID=”CF543873-D7B9-11D3-830B-  00609709DDA1”/>     <Language>en</Language>      <Currency>USD</Currency>     <Country>US</Country>      <ShoppingCart ResponseDataFormat=”CBL”ResponseDataFormatVersion=”2.0” ResponseDataType=”OrderRequest”>     <CartID>3456</CartID>    <OrderRequestxmlns=”urn:x-commerceone:document:com:commerceone:    CBL:CBL.sox$1.0”>       <OrderRequestHeader>           <OrderRequestDate>19990531T19:55:00</OrderRequestDate>           <OrderRequestReference>         <AccountCode><Reference><RefNum>CTOP</RefNum></Reference         >  </AccountCode>         <BuyerRefNum><Reference><RefNum>100</RefNum></Reference         >          </BuyerRefNum>      <SupplierRefNum><Reference><RefNum>2</RefNum></Reference>        </SupplierRefNum>            </OrderRequestReference>           <OrderParty>             <BuyerParty><Party>            <NameAddress>             <Name1>Mr. MuljadiSulistio</Name1>             <Name2>Attention:Business ServiceDivision</Name2>             <Address1>1600 Riviera Ave.</Address1>            <Address2>Suite #200</Address2>             <City>WalnutCreek</City>             <State>CA</State>            <PostalCode>94596</PostalCode>            <Country>US</Country>             </NameAddress>            <OrderContact>             <Contact>             <ContactName>Mr. Muljadi Sulistio</ContactName>             <Telephone>(650) 932-4555</Telephone>             <Email>mike.holloway@commerceone.com</Email>             <Fax>(650) 468-8900</Fax>             </Contact>            </OrderContact>           <ReceivingContact>            <Contact>              <ContactName>Mr. DebbieDub</ContactName>              <Telephone>(650) 932-4555</Telephone>             <Email>debbie.dub@commerceone.com</Email>             <Fax>(650) 468-8900</Fax>             </Contact>            </ReceivingContact>          <ShippingContact>            <Contact>              <ContactName>Mr.JohnWayne</ContactName>              <Telephone>(650) 932-4555</Telephone>             <Email>john.wayne@commerceone.com</Email>             <Fax>(650) 468-8900</Fax>             </Contact>            </ShippingContact>             </Party></BuyerParty>            <SupplierParty><Party>          <NameAddress>            <Name1>Millenium Supplier</Name1>            <Name2>Attention: Office Supply Division</Name2>            <Address1>1600 Riviera Ave.</Address1>            <Address2>Suite #200</Address2>             <City>WalnutCreek</City>             <State>CA</State>            <PostalCode>94596</PostalCode>            <Country>US</Country>             </NameAddress>            </Party></SupplierParty>           </OrderParty>          <OrderCurrency>USD</OrderCurrency>          <OrderLanguage>EN<OrderLanguage>        </OrderRequestHeader>       <ListOfOrderRequestDetail>           <OrderRequestDetail>            <LineItemNum>1</LineItemNum>             <SupplierPartNum>            <PartNum>             <Agency>AssignedBySupplier</Agency>            <PartID>12345</PartID>             </PartNum>            </SupplierPartNum>             <ItemDescription>SanfordHighlighting Marker</ItemDescription>             <Quantity>          <Qty>000000000001.000</Qty>          <UnitOfMeasure>EA</UnitOfMeasure>         </Quantity>        <Transport Direction=″SupplierToBuyer″>        <Mode>Air</Mode>       <Mean>Express</Mean>        <Carrier>Fedex</Carrier>      <CustShippingContractNum>CTOP123</CustShippingContractNum>      <ShippingInstruction>Please handle with care         <ShippingInstruction>           </Transport>          <OffCatalogFlag>false</OffCatalogFlag>           <BuyerExpectedUnitPrice>          <Price><UnitPrice>00000000010.0000</UnitPrice></Price>          </BuyerExpectedUnitPrice>           </OrderRequestDetail>       </ListOfOrderRequestDetail>        <OrderRequestSummary>          <TotalAmount>000000000001000.000</TotalAmount>       <TotalLineNum>1</TotalLineNum>        </OrderRequestSummary>     </OrderRequest>      </ShoppingCart>  </RTServiceEnd>

FIG. 6 depicts a sequence ending the broker session, upon completion ofthe supplier service session. Once the buyer 230A is done, an order orcancel button is selected at the buyer browser. This generates an HTTP/SPost of a service session end document to the broker application. Thebroker sends it through the L1 component 413 to a forwarding componentof the L2 component 416. The forwarding component processes the data,receives a service session end document from the supplier application,forwards the document to the buyer's procurement application 230B,receives a reply, and forwards the reply to the buyer for display in thebuyer's browser or other viewing software 230A. In the context of thepresent invention, the buyer application can refer to the buyer'sbrowser, the procurement application or both. When the serviceinteraction completes and the supplier sends a “Supplier Service SessionEnd” request to the broker, the broker processes the “Supplier ServiceSession End” message and generates an HTTP post to the buyer callbackURL that was specified by the buyer during registration. The data inthis communication contains the supplier service session end data as anXML document within a hidden form field. As described above, in theinstance of a shopping cart session, the order details (shopping cart)as a CBL format document within a hidden form field.

An example of one embodiment practicing aspects of the present inventionbegins when a user web browser is displaying ABC Motors Product Searchpage in which one or more motors have been selected. The user reads andselects one or more items. The user clicks on an “Order Form” link tosubmit the request. The ABC Motors order form page is served up by theABC Motors server. The “Check Out” button sometimes used in e-commerceis replaced with the buyer application specified “Accept” button label.For example, the actual label may read “Add To a Requisition.” The userclicks on the “Accept” button. This results in a HTTP/S Post to the ABCMotors server. The web browser is waiting for an HTTP Reply. The ABCMotors server HTTP/S Posts to the broker application the OrderRequestand context earlier provided by the broker application. The ABC Motorsserver is waiting for an HTTP Reply. The broker application HTTP/S Poststo the appropriate buyer application “Accept Order Request” ASP page forreceiving the OrderRequest CBL and earlier provided buyer applicationcontext. The broker application is waiting for an HTTP Reply. The buyerapplication “Accept Order Request” ASP adds the items in theOrderRequest to the user's requisition (the buyer application contextcontains the user session information) and then HTTP/S Replies with HTML(to the broker application). The broker application HTTP/S Replies withthe buyer application provided HTML to the ABC Motors server. The ABCMotors server HTTP/S Replies with the buyer application provided HTML tothe user's web browser. The user's web browser refreshes per the HTML.

Due to the polymorphic nature of the message used to conclude thebuyer-supplier session, the message is suitable for a variety of diverseapplications, including product configuration, tax calculations orfreight forward, in addition to this shopping cart example. A furtherexample of a tax calculation extension to ResponseData follows:

<elementtype name=“TaxCalculation”>    <explain>    <p>A<code>Tax</code> is typically returned from a    RoundTrip session witha supplier's catalog or configurator.    The <code>ShoppingCart</code>will containan <code>    OrderRequest</code>.</p>   <p><code>OrderRequest</code> - an order request containing the   items selected by and/or configured by the user from the supplier's   web based catalog/configurator.</p>    </explain>  <extendstype=“ResponseData”>   <append>    <element prefix=“cbl” type=“Tax”/>  </append>  </extends> </elementtype> </schema>

Additional aspects of a system practicing the present invention mayinclude forwarding a purchase order, as depicted in FIG. 2. Cancellationand error messages, referred to above, are described by schemasfollowing the general form of the schemas presented in the examples.

It is inherent in the present invention that methods practicing thepresent invention can be expressed as articles of manufacture bydescribing the method as embodied in a program stored on a magneticmedium. It is further inherent that those methods can be expressed as abroker server device running the broker portion of the method or as asystem including buyer, broker and supplier servers running theirrespective portions of the method.

While the present invention is disclosed by reference to the embodimentsand examples detailed above, it is understood that these examples areintended in an illustrative rather than in a limiting sense. It iscontemplated that modifications and combinations will readily occur tothose skilled in the art, which modifications and combinations will bewithin the spirit of the invention and the scope of the followingclaims. Each method practicing the present invention may readily berecast as a device or article of manufacture.

What is claimed is:
 1. A method including: receiving a first requestfrom a first computer at an e-commerce routing hub to start a session ofa service running on a second system, wherein the service is identifiedby a unique name that is not a routing address; looking up the uniquename in a directory, matching the unique name to a routing address andredirecting the first computer into a peer-to-peer message exchangebetween the first computer and the second system using the routingaddress; and receiving at the e-commerce routing hub first and secondservice session end messages from the first computer and the secondsystem, matching the first and second service session end messages andrecording completion of the service session.
 2. The method of claim 1,wherein the first computer includes a browser or a procurementapplication.
 3. The method of claim 2, further including translating oneor more message elements between formats used by the first computer andthe second system.
 4. The method of claim 2, further including eitherthe first computer or second system sending a polymorphic messageincluding: a schema identifier for the polymorphic message, resolvablein a context of a system identifier; and polymorphic content including amessage type and version that, in combination with the schemaidentifier, define one or more additional data elements of the messagetype and version.
 5. The method of claim 2, further including either thefirst computer or second system sending a polymorphic message including:a schema identifier for the polymorphic message, resolvable in a contextof a system identifier; and polymorphic content including a message typeand version that, in combination with the schema identifier, define oneor more additional data elements of the message type and version.
 6. Amethod including: receiving a first request from a first computer at ane-commerce routing hub to start a session of a service running on asecond system, wherein the service is identified by a unique name thatis not a routing address; looking up the unique name in a directory,matching the unique name to a routing address and redirecting the firstcomputer into a peer-to-peer message exchange between the first computerand the second system using the routing address; and during the sessionbetween the first computer and the second system, exchanging anpolymorphic message including: a schema identifier for the polymorphicmessage, resolvable in a context of a system identifier; and a messagetype and version that, in combination with the schema identifier, defineone or more additional data elements applicable to the message type andversion.
 7. The method of claim 6, further including: sending the firstcomputer redirection information that, when processed by the firstcomputer, connects the first computer to the service running on thesecond system.
 8. The method of claim 6, further including: sending thesecond system an additional service start request using the routingaddress; and the second system performing a redirect of the request madeby the first computer to the service running on the second system.
 9. Asystem including: at least one processor and memory coupled incommunication with the process, wherein the memory stores instructionsthat, when run by the processor cause the processor to: receive a firstrequest from a first computer at an e-commerce routing hub to start asession of a service running on a second system, wherein the service isidentified by a unique name that is not a routing address; look up theunique name in a directory, match the unique name to a routing addressand redirect the first computer into a peer-to-peer message exchangebetween the first computer and the second system using the routingaddress; and receive at the e-commerce routing hub first and secondservice session end messages from the first computer and the secondsystem, match the first and second service session end messages andrecord completion of the service session.
 10. A system including: atleast one processor and memory coupled in communication with theprocess, wherein the memory stores instructions that, when run by theprocessor cause the processor to: receive a first request from a firstcomputer at an e-commerce routing hub to start a session of a servicerunning on a second system, wherein the service is identified by aunique name that is not a routing address; look up the unique name in adirectory, match the unique name to a routing address and redirect thefirst computer into a peer-to-peer message exchange between the firstcomputer and the second system using the routing address; and during thesession between the first computer and the second system, one of thefirst computer and the second system including instructions that causean exchange of a polymorphic message including: a schema identifier forthe polymorphic message, resolvable in a context of a system identifier;and a message type and version that, in combination with the schemaidentifier, define one or more additional data elements applicable tothe message type and version.